package com.goushu.service;

import com.goushu.pojo.Book;
import com.goushu.pojo.Comment;
import com.goushu.pojo.PageBean;

import java.util.List;

public interface BookService {
    List<Book> listMain();

    Book listDetail(Integer id);

    List<Comment> listComment(Integer id);

    PageBean<Book> search(Integer pageNum, Integer pageSize, String keyword);

    PageBean<Book> category(Integer pageNum, Integer pageSize, String keyword);
}
